package com.wlsk.license.service.feign;


import com.wlsk.license.common.result.Result;
import com.wlsk.license.dto.TestVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Component
@FeignClient(value = "merchant", contextId = "testFeignClient")
public interface TestFeignClient {
    @PostMapping("getAllMerchantInfo")
    public Result<List> getAllMerchantInfo(@RequestBody TestVo testVo);
}
